from bot_body import Bot_body
import plugins
from plugins.bot_plugin import Bot_plugin
from plugins.together_secs_count.together_secs_count import Plugin_together_secs_count
from plugins.test_plugin.test_plugin import Plugin_test
from plugins.authorize_plugin.authorize_plugin import Group_manager
from plugins.authorize_plugin.authorize_plugin import Plugin_suffix_manager
from plugins.authorize_plugin.authorize_plugin import Plugin_authorize
from plugins.snap_plugin.snap_plugin import Plugin_snap
from plugins.nick_plugin.nick_plugin import Plugin_nick
from plugins.bridge_plugin.bridge_plugin import Plugin_bridge_manager
from plugins.bridge_plugin.bridge_plugin import Plugin_bridge
from plugins.kuaiji_plugin.kuaiji_plugin import Plugin_kuaiji

import logging


if __name__ == '__main__':
    logging.basicConfig(level = logging.DEBUG,
        format="[TIME:%(asctime)s][FILE:%(filename)s][LINENO:%(lineno)d] %(message)s")
    bot_body = Bot_body()
    
    kuaiji_plugin = Plugin_kuaiji(bot_body)
    kuaiji_plugin.register()
    
    
    bot_body.run()
    